<?php

Yii::import('application.models._base.BaseDrillDiagram');

class DrillDiagram extends BaseDrillDiagram
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}

    public function GetDrillDiagrams($id) {
        return $this->findAllByAttributes(
            array('drill_id'=>$id),
            array('order' => 'weight')
        );
    }
}